<table class="layui-table text-center" lay-size="sm">
    <thead>
        <tr>
            <th>月份</th>
            <th>账号</th>
            <th><div class="text-left">订单数</div></th>
            <th><div class="text-left">销量</div></th>
        </tr>
    </thead>
    <tbody>
    {foreach $list as $item}
    <tr>
        <td>{$item.stat_month}</td>
        <td>{$sa ? $item.username : ''}</td>
        <td class="text-left">{$item.total_qty}</td>
        <td class="text-left">{$item.total_price}</td>
    </tr>
    {/foreach}
    {empty name="list"}
    <tr>
        <td colspan="3">没有数据</td>
    </tr>
    {/empty}
    </tbody>
</table>
<div class="page">
    {$page|raw}
</div>